package edu.zut;

import java.util.Scanner;

    public class Ptaiiiii {
        public static void exchange(int[] a){
            int temp=a[0];
            a[0]=a[1];
            a[1]=temp;
        }
        public static void main(String args[ ]) {
           int[] b=new int[2];
           Scanner scan=new Scanner(System.in);
            for (int i = 0; i <b.length ; i++) {
                b[i]=scan.nextInt();
            }
            exchange(b);
            for (int i = 0; i <2 ; i++) {
                System.out.print(b[i]);
            }
        }
    }
